package com.khh.dao;

import com.khh.entity.Student;
import com.khh.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by webrx on 2017-09-11.
 */
@Service("studao")
public class StuDao implements StudentMapper{

    @Autowired
    private StudentMapper sm;

    @Override
    public Student queryById(int id) {
        return sm.queryById(id);
    }
}
